package com.yy.bolg.dao;

import com.yy.bolg.entity.AdminUserBean;
import org.apache.ibatis.annotations.Mapper;

import java.io.Serializable;
import java.util.List;

/**
 * 总工Dao层
 * @author enmaoFu
 * @date 2024-10-31
 */
@Mapper
public interface AdminUserDao extends BaseDao<AdminUserBean>{

    AdminUserBean findOneByPhone(Serializable phone);

    List<AdminUserBean> findAllByCondition(AdminUserBean bean);

    int signIn(AdminUserBean bean);

    int signOut(AdminUserBean bean);

    int suspend(AdminUserBean bean);

    int recovery(AdminUserBean bean);

}
